package com.wutong.erb.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 状态控制器
 * @author wutong
 */
@Slf4j
@RestController
public class StatusController {

    @GetMapping("/error")
    public String error() {
        log.error("error");
        return "error";
    }
}
